--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
--[[



]]--
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

return function(inst)
    inst:DoTaskInTime(0,function()        
        local old_HasTag = inst.HasTag
        inst.HasTag = function(inst, tag)
            if old_HasTag(inst, tag) then
                return true
            end
            local custom_tag_sys = inst.components.loramia_com_tag_sys or inst.replica.loramia_com_tag_sys or inst.replica._.loramia_com_tag_sys
            if custom_tag_sys and custom_tag_sys:HasTag(tag) then
                return true
            end
            return false
        end
    end)

    if not TheWorld.ismastersim then
        return
    end

    inst:AddComponent("loramia_com_tag_sys")

end